Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compat with servers containing packages with user no channel #13590

Merged
merged 2 commits into from
Apr 17, 2023

Conversation

memsharded
Copy link
Member

Changelog: Feature: Provide compatibility with servers containing Conan 2.0 packages with user and no channel.
Docs: Omit

Doesn't provide tests because it is very difficult, because the limitations are also hardcoded in the server used for testing. I have tested it manually against my server.

Close #13588

@memsharded memsharded added this to the 1.60 milestone Apr 1, 2023
for reference in response:
name, version, user, channel, revision = get_reference_fields(reference)
# In Conan 2.0 it is possible to have user and not channel, skip it
if user and not channel:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to have channel and not user?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no

@AbrilRBS AbrilRBS linked an issue Apr 3, 2023 that may be closed by this pull request
1 task
@czoido czoido merged commit 3090031 into conan-io:develop Apr 17, 2023
@memsharded memsharded deleted the feature/compat_2_0_search branch April 17, 2023 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature] Conan 1.x & 2.x packages coexistence in the same remote
4 participants